<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from www.zi-han.net/theme/hplus/login_v2.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:49 GMT -->
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

    <title>H+ 后台主题UI框架 - 登录</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">
    <link href="/css/admin/bootstrap.min.css" rel="stylesheet">
    <link href="/css/admin/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="/css/admin/animate.min.css" rel="stylesheet">
    <link href="/css/admin/style.min.css" rel="stylesheet">
    <link href="/css/admin/login.min.css" rel="stylesheet">
    <link href="/css/admin/plugins/toastr/toastr.min.css" rel="stylesheet">
    <script src="/js/admin/jquery.min.js"></script>
    <script src="/js/admin/plugins/toastr/toastr.min.js"></script>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <script>
        $(document).ready(function () {
            toastr.options = {
                "closeButton": true,
                "debug": false,
                "progressBar": true,
                "positionClass": "toast-top-right",
                "onclick": null,
                "showDuration": "400",
                "hideDuration": "1000",
                "timeOut": "7000",
                "extendedTimeOut": "1000",
                "showEasing": "swing",
                "hideEasing": "linear",
                "showMethod": "fadeIn",
                "hideMethod": "fadeOut"
            }
        })
        if (window.top !== window.self) {
            window.top.location = window.location
        }

        function login() {
            $.post("/admin/login", {
                    password: $("#password").val()
                }, function (res) {
                    console.log(res)
                    if (res.code===20000){
                        toastr.success('正在跳转...','登录成功')
                        setTimeout(function () {
                            window.location.href='/admin/index';
                        }, 2000)
                    }else{
                        toastr.error('密码错误','提示')
                    }
                }
            )
        }

    </script>

</head>

<body class="signin">
<div class="signinpanel">
    <div class="row">
        <div class="col-sm-7">
            <div class="signin-info">
                <div class="logopanel m-b">
                    <h1>[ 林楷服装有限公司 ]</h1>
                </div>
                <div class="m-b"></div>
                <h4>欢迎使用 <strong>林楷后台管理系统</strong></h4>
                <ul class="m-b">
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 目前暂时不支持注册登录系统</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 系统处于不稳定状态，请留有备份数据。</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势三</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势四</li>
                    <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> 优势五</li>
                </ul>
                <strong>还没有账号？ <a href="#">立即注册&raquo;</a></strong>
            </div>
        </div>
        <div class="col-sm-5">
            <form method="post" action="/admin/login">
                <h4 class="no-margins">登录：</h4>
                <p class="m-t-md">登录到林楷后台管理系统</p>
                <!--                    <input type="text" class="form-control uname" placeholder="用户名" />-->
                <input type="password" id="password" name="password" class="form-control pword m-b"
                       placeholder="请输入秘钥"/>
                <a href="#">忘记密码了？</a>
                <button class="btn btn-success btn-block" type="button" onclick="login()">登录</button>
            </form>
        </div>
    </div>
    <div class="signup-footer">
        <div class="pull-left">
            &copy; 2015 All Rights Reserved. H+
        </div>
    </div>
</div>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/login_v2.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:19:52 GMT -->
</html>
